import {EntityId, PageQueryParams} from "kf-web-library";
import {Journal_Summary, JournalColumn} from "@/services";

export interface JournalTemplatePageQueryParams extends Partial<PageQueryParams> {
  searchText?: string;
  ids?: EntityId[];
  journalId?: EntityId; //所属期刊
}

export interface JournalTemplate{
  id: EntityId; //id
  journalId: EntityId; //期刊ID
  code: string; //编码
  type: string; //类型
  logo: string; //logo
  name: string; //文件名
  nameCn: string; //文件名
  nameEn: string; //文件名
  fileUrl: string; //文件地址
  seq: number; //排序号
  createTime: string; //创建时间
  modifyTime: string; //修改时间
  createUserId: number; //${column.comment}
  modifyUserId: number; //${column.comment}
}


export interface JournalTemplate_Create{
  journalId: EntityId; //期刊ID
  code: string; //编码
  type: string; //类型
  logo: string; //logo
  name: string; //文件名
  nameCn: string; //文件名
  nameEn: string; //文件名
  fileUrl: string; //文件地址
  seq: number; //排序号
}



export interface JournalTemplate_Modify extends JournalTemplate_Create {
  id: EntityId;
}

export interface JournalTemplate_Patch extends Partial<JournalTemplate_Modify> {
  id: EntityId;
}








